Electronic persistent switch

ABSTRACT

Methods, systems, and computer readable media described herein can be operable to facilitate transitioning a device from a first state to a second state. A switch described herein allows for the use of an electronic circuit to perform the toggle and persistence functions while simultaneously giving more flexibility to the industrial design and physical switch implementation. The switch allows this preserving of the state using only a toggle on a voltage and thus allowing for a hardware only solution. The switch described herein allows for the use of smaller and less complicated mechanical switches allowing for more compact industrial designs. The switch uses a programmable voltage reference as a 1 bit non-volatile memory cell that is programmed by means of a logic pulse to the device. This allows a software independent setting of the state of the privacy switch. This state will remain through power cycles.

CROSS REFERENCE TO RELATED APPLICATION

This application is a non-provisional application claiming the benefitof U.S. Provisional Application Ser. No. 62/860,838, entitled“Electronic Persistent Switch,” which was filed on Jun. 13, 2019, and isincorporated herein by reference in its entirety.

TECHNICAL FIELD

This disclosure relates to an electronic persistent switch.

BACKGROUND

Voice controlled systems are becoming more and more common and thefeature is being included in many different applications around thehome. With the prevalence of devices “listening” to consumers the needfor a reliable privacy switch is apparent and not easily attainable.Ideally this privacy switch would not allow for any software control,meaning once a user places a device in privacy mode the device wouldremain in that state until the user physically placed the device back into active mode. This state should also be kept through a power outage.In these types of applications form factor and industrial design arealso a significant focus as products are marketed to a consumer.Mechanical switches to implement the privacy function tend to be bulky,have a different feel than most buttons and switches currentlyimplemented or are difficult to implement and keep the desiredIndustrial design.

Previous solutions required either software controlled switches whichlack concrete privacy requirements or latching or sliding switches thatwill remember the state through the mechanical design.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows an example schematic of an electrical switch.

FIG. 2 shows an example process for transitioning from a first state toa second state.

FIG. 3 shows an example process for transitioning from a first state toa second state in response to a switch or button being pressed.

FIG. 4 is a block diagram of a hardware configuration operable tofacilitate transitioning a device from a first state to a second state.

Like reference numbers and designations in the various drawings indicatelike elements.

DETAILED DESCRIPTION

In certain designs where security and privacy are a concern it may beadvantageous to have a switch/setting that is preserved over a powercycle. Furthermore in terms of security and transparency it may also beadvantageous to have this setting or switch be set without theintervention of any software running on the system. Two current methodsare being used: (1) Non-Volatile memory storage and (2) Mechanicallatching or positional switches.

Traditional methods of using Non-Volatile memory to save settings over apower cycle would use electronic flash memory or require the use of abattery to help store the current state. With current implementationsthe programming of non volatile storage always requires the use of someprogramming algorithm thus intervention from some software running onthe system.

The switch described herein allows for the use of an electronic circuitto perform the toggle and persistence functions while simultaneouslygiving more flexibility to the industrial design and physical switchimplementation. The switch allows this preserving of the state usingonly a toggle on a voltage and thus allowing for a hardware onlysolution. This solution described herein allows for the use of smallerand less complicated mechanical switches allowing for more compactindustrial designs.

The switch uses a programmable voltage reference as a 1 bit non-volatilememory cell that is programmed by means of a logic pulse to the device.This allows a software independent setting of the state of the privacyswitch. This state will remain through power cycles.

Electrical Switch Implementation:

-   -   Uses a programmable voltage reference to generate a 1 bit        non-volatile memory to remember the switch state    -   Voltage reference is “programmed” by means of a voltage pulse        and requires no software control    -   Circuit will set the state of the switch and toggle that state        on each press of the button

FIG. 1 shows an example schematic of an electrical switch 100. As anexample, the electrical switch 100 may integrated into a client orcustomer premise equipment (CPE) device having listening and/orvideo/image capture capabilities, or that is otherwise capable ofoutputting private user data.

In response to a button being pressed, a voltage pulse may be generatedand output to one or more components of the electrical switch 100. Forexample, when a button is pressed, a switch 105 may be closed, therebyallowing the voltage pulse to be output to a programmable voltagereference 110 and/or a latch 115. The switch 105 drives a pulse toreprogram the voltage reference 110 to the alternate state generatingthe toggle.

The latch 115 is used to latch the inverted state and thus set the nextstate of the switch 100 while allowing the programming at the voltagereference 110 to correctly complete. In embodiments, when the voltagepulse is received by the latch 115, the latch 115 may toggle the stateof the switch from a current state to an alternate state. For example,the latch 115 may be configured with a first state and a second state.The latch 115 may include a first voltage output pin 120 a and a secondvoltage output pin 120 b, wherein the first voltage output pin 120 a isused to output a first voltage associated with a first state and thesecond voltage output pin 120 b is used to output a second voltageassociated with a second state. In response, to receiving the voltagepulse from the switch 105, the latch 115 may toggle the output from thefirst voltage output pin 120 a to the second voltage output pin 120 b,and vice versa. In embodiments, the latch 115 may be set to output afirst voltage that is associated with a first state. The first voltagethat is associated with the first state may be a different and/oralternate voltage than a second voltage that is associated with a secondstate. For example, the programmable voltage reference 110 may be setwith and/or may be outputting the second voltage that is associated withthe second state. In response to receiving the voltage pulse from theswitch 105, the latch 115 may output the first voltage to theprogrammable voltage reference 110. For example, the programmablevoltage reference 110 may receive the first voltage from the latch 115through a voltage input pin 125. The latch 115 may receive the voltagepulse from the switch 105 via an input pin 130 (e.g., a CLK pin), andthe latch 115 may be configured with a reference pin 135 to facilitatesignaling between the latch 115 and the voltage reference 110.

The programmable voltage reference 110 may be used as a non-volatilememory. The programmable voltage reference 110 may be any elementconfigured to permanently and persistently store a binary referencevoltage. In embodiments, when the pressing of the switch 105 has ended(i.e., when the switch is released), and the switch 105 opens, theprogrammable voltage reference 110 may respond to the voltage pulse nolonger being received from the switch 105. The programmable voltagereference 110 may detect the presence and/or absence of the voltagepulse via a switch pin 140. In response to the voltage pulse beingterminated or removed, the programmable voltage reference 110 may storea persistent version of the voltage that is received from the latch 115.For example, the programmable voltage reference 110 may begin a periodicor constant output of the voltage received from the latch 115 throughthe voltage input pin 125, wherein the programmable voltage reference110 outputs the voltage through the voltage output pin 145. The voltageoutput through the voltage output pin 145 is the persistent logic output150 to be used to control privacy state (or other setting) at one ormore elements of the device within which the switch 100 is integrated.For example, the voltage output through the voltage output pin 145 mayenable or disable one or more privacy settings (e.g., microphone,camera, an output of private user data such as location data, etc.) ofthe device within which the switch 100 is integrated. This signal can beused in various implementations such as removing microphone power ordisabling audio data paths in the design. In response to the voltagepulse being terminated, the programmable voltage reference 110 mayadjust a persistently stored voltage to the voltage that was lastreceived from the latch 115. The state will be stored in the voltagereference and remain persistent over a power cycle. The voltagereference 110 may receive power from a power source 150 (e.g., PWR) viaa power input pin 155. The voltage reference 110 may include a groundpin 160.

In embodiments, when the voltage pulse is received by the programmablevoltage reference 110, a reference voltage may be output to one or morelogic gates, wherein the one or more logic gates control a feature orsetting based upon the output that is received from the programmablevoltage reference 110. For example, the programmable voltage reference110 may be set to output a high reference voltage or a low referencevoltage, depending upon the current state that is set at the latch 115(e.g., the voltage state at the voltage reference may be the oppositestate of the state set at the latch). It should be understood that theprogrammable voltage reference 110 may be configured to output a firstvoltage (e.g., high voltage) to enable a privacy setting (or othersetting) and a second voltage (e.g., low voltage) to disable a privacysetting (or other setting). After outputting the reference voltage inresponse to receiving the voltage pulse, the programmable voltagereference 110 may adjust a reference voltage to reflect the alternatereference voltage. For example, the programmable voltage reference 110may adjust a reference voltage to be output from the current referencevoltage to the alternate reference voltage, and the adjusted referencevoltage may be output by the programmable voltage reference 110 inresponse to receiving a next voltage pulse.

While a privacy setting is described herein, it should be understoodthat the programmable voltage reference 110 may be utilized to output asingular or a persistent signal or voltage to control a variety ofsettings, features, and/or states.

In embodiments, the voltage pulse output from the switch 105 to thelatch 115 may pass through an inverter 165 that is located between theswitch 105 and the latch 115.

It should be understood that the latch 115 may switch the voltage outputfrom the first voltage output pin 120 a to the second voltage output 120b (or vice versa) in response to the voltage pulse no longer beingsensed by the latch 115. For example, the

FIG. 2 shows an example process 200 for transitioning from a first stateto a second state. A press of a button may cause the switch 105 of FIG.1 to generate and output a voltage pulse. The voltage pulse may bereceived by the latch 115 of FIG. 1, and in response, the latch maytoggle a switch position. A current reference voltage may be output(e.g., from the programmable voltage reference 110 of FIG. 1) inresponse to the voltage pulse being received. The reference voltagestored at the programmable voltage reference may be adjusted.

At 205, a voltage pulse may be generated. The voltage pulse may begenerated, for example, by the switch 105 in response to a press of abutton at the device.

At 210, a switch position may be toggled at a latch 115 in response toreceiving the voltage pulse. For example, the voltage pulse generated at205 may be output to and received at the latch 115. In response, thelatch may toggle a switch position. For example, the switch may betoggled from a first position that outputs a first voltage from thelatch to a second position that outputs a second voltage from the latch,wherein the voltages are output to the programmable voltage reference110.

At 215, a current reference voltage may be output in response toreceiving the voltage pulse. The current reference voltage may be thesecond voltage (e.g., the voltage currently being received from thelatch 115), and the current reference voltage may be output from theprogrammable voltage reference 110. The current reference voltage may beoutput from the programmable voltage reference 110 in response to arelease of the switch 105 (e.g., when the voltage pulse is no longerreceived by the programmable voltage reference).

At 220, the reference voltage at the programmable voltage reference 110may be adjusted. For example, the reference voltage stored at theprogrammable voltage reference 110 may be adjusted from the currentreference voltage (i.e., the first reference voltage) to an alternatereference voltage (e.g., the voltage received from the latch 115, inthis case, the second reference voltage).

FIG. 3 shows an example process 300 for transitioning from a first stateto a second state in response to a switch or button being pressed.Starting at an initial state, in response to a button/switch beingpressed: a current state may be locked at a volatile latch (e.g., latch115 of FIG. 1); an alternate (inverted) state may be output from thevolatile latch to an input of a programmable voltage reference 110 ofFIG. 1; a pulse may begin a programming sequence in the non-volatileelement (e.g., the programmable reference 110); and the new state may bestored in the non-volatile element.

At 305, a device may be operating in an initial state. For example, avoltage output from the programmable voltage reference 110 may controlone or more settings at one or more elements of a device within whichthe switch 100 is integrated.

At 310, a determination may be made whether a switch at the device hasbeen pressed. If the switch has not been pressed, the device maycontinue to operate at the initial state. If the switch has beenpressed, the process 300 may proceed to 315.

At 315, a current state may be locked in a volatile latch 115. Forexample, upon receiving a voltage pulse resulting from the switch beingpressed, the latch 115 may switch the output voltage from a current(i.e., first) voltage to an alternate (i.e., second) voltage.

At 320, the volatile latch 115 may output the alternate (i.e., inverted)voltage/state to an input of a programmable voltage reference 110.

At 325, a pulse may begin a programming sequence at a non-volatileelement (e.g., a programmable reference 110). For example, when theswitch is released, and the voltage pulse is no longer received by theprogrammable reference 110, the programmable reference may output thevoltage that is received from the latch (e.g., the alternate voltage) toone or more logic gates.

At 330, the new state/voltage may be stored persistently in thenon-volatile element (e.g., the programmable reference 110).

FIG. 4 is a block diagram of a hardware configuration 400 operable tofacilitate transitioning a device from a first state to a second state.The hardware configuration 400 can include a processor 410, a memory420, a storage device 430, and an input/output device 440. Each of thecomponents 410, 420, 430, and 440 can, for example, be interconnectedusing a system bus 450. The processor 410 can be capable of processinginstructions for execution within the hardware configuration 400. In oneimplementation, the processor 410 can be a single-threaded processor. Inanother implementation, the processor 410 can be a multi-threadedprocessor. The processor 410 can be capable of processing instructionsstored in the memory 420 or on the storage device 430.

The memory 420 can store information within the hardware configuration400. In one implementation, the memory 420 can be a computer-readablemedium. In one implementation, the memory 420 can be a volatile memoryunit. In another implementation, the memory 420 can be a non-volatilememory unit.

In some implementations, the storage device 430 can be capable ofproviding mass storage for the hardware configuration 400. In oneimplementation, the storage device 430 can be a computer-readablemedium. In various different implementations, the storage device 430can, for example, include a hard disk device, an optical disk device,flash memory or some other large capacity storage device. In otherimplementations, the storage device 430 can be a device external to thehardware configuration 400.

The input/output device 440 provides input/output operations for thehardware configuration 400. In one implementation, the input/outputdevice 440 can include one or more of a network interface device (e.g.,an Ethernet card), a serial communication device (e.g., an RS-232 port),one or more universal serial bus (USB) interfaces (e.g., a USB 2.0port), one or more wireless interface devices (e.g., an 802.11 card),and/or one or more interfaces for outputting video and/or data servicesto a client device or display device associated with a client device. Inanother implementation, the input/output device can include driverdevices configured to send communications to, and receive communicationsfrom one or more networks.

The subject matter of this disclosure, and components thereof, can berealized by instructions that upon execution cause one or moreprocessing devices to carry out the processes and functions describedabove. Such instructions can, for example, comprise interpretedinstructions, such as script instructions, e.g., JavaScript orECMAScript instructions, or executable code, or other instructionsstored in a computer readable medium.

Implementations of the subject matter and the functional operationsdescribed in this specification can be provided in digital electroniccircuitry, or in computer software, firmware, or hardware, including thestructures disclosed in this specification and their structuralequivalents, or in combinations of one or more of them. Embodiments ofthe subject matter described in this specification can be implemented asone or more computer program products, i.e., one or more modules ofcomputer program instructions encoded on a tangible program carrier forexecution by, or to control the operation of, data processing apparatus.

A computer program (also known as a program, software, softwareapplication, script, or code) can be written in any form of programminglanguage, including compiled or interpreted languages, or declarative orprocedural languages, and it can be deployed in any form, including as astand-alone program or as a module, component, subroutine, or other unitsuitable for use in a computing environment. A computer program does notnecessarily correspond to a file in a file system. A program can bestored in a portion of a file that holds other programs or data (e.g.,one or more scripts stored in a markup language document), in a singlefile dedicated to the program in question, or in multiple coordinatedfiles (e.g., files that store one or more modules, sub programs, orportions of code). A computer program can be deployed to be executed onone computer or on multiple computers that are located at one site ordistributed across multiple sites and interconnected by a communicationnetwork.

The processes and logic flows described in this specification areperformed by one or more programmable processors executing one or morecomputer programs to perform functions by operating on input data andgenerating output thereby tying the process to a particular machine(e.g., a machine programmed to perform the processes described herein).The processes and logic flows can also be performed by, and apparatuscan also be implemented as, special purpose logic circuitry, e.g., anFPGA (field programmable gate array) or an ASIC (application specificintegrated circuit).

Computer readable media suitable for storing computer programinstructions and data include all forms of non-volatile memory, mediaand memory devices, including by way of example semiconductor memorydevices (e.g., EPROM, EEPROM, and flash memory devices); magnetic disks(e.g., internal hard disks or removable disks); magneto optical disks;and CD ROM and DVD ROM disks. The processor and the memory can besupplemented by, or incorporated in, special purpose logic circuitry.

While this specification contains many specific implementation details,these should not be construed as limitations on the scope of anyinvention or of what may be claimed, but rather as descriptions offeatures that may be specific to particular embodiments of particularinventions. Certain features that are described in this specification inthe context of separate embodiments can also be implemented incombination in a single embodiment. Conversely, various features thatare described in the context of a single embodiment can also beimplemented in multiple embodiments separately or in any suitablesubcombination. Moreover, although features may be described above asacting in certain combinations and even initially claimed as such, oneor more features from a claimed combination can in some cases be excisedfrom the combination, and the claimed combination may be directed to asubcombination or variation of a subcombination.

Similarly, while operations are depicted in the drawings in a particularorder, this should not be understood as requiring that such operationsbe performed in the particular order shown or in sequential order, orthat all illustrated operations be performed, to achieve desirableresults. In certain circumstances, multitasking and parallel processingmay be advantageous. Moreover, the separation of various systemcomponents in the embodiments described above should not be understoodas requiring such separation in all embodiments, and it should beunderstood that the described program components and systems cangenerally be integrated together in a single software product orpackaged into multiple software products.

Particular embodiments of the subject matter described in thisspecification have been described. Other embodiments are within thescope of the following claims. For example, the actions recited in theclaims can be performed in a different order and still achieve desirableresults, unless expressly noted otherwise. As one example, the processesdepicted in the accompanying figures do not necessarily require theparticular order shown, or sequential order, to achieve desirableresults. In some implementations, multitasking and parallel processingmay be advantageous.

We claim:
 1. A method for transitioning from a first state of a deviceto a second state of the device, the method comprising: generating avoltage pulse; toggling a switch position at a latch in response to thevoltage pulse being received at the latch, wherein the switch positionis toggled from an output of a first voltage to an output of a secondvoltage; outputting a current reference voltage from a programmablevoltage reference element, wherein the current reference voltagecomprises the second voltage; and adjusting the current referencevoltage at the programmable voltage reference element, wherein thecurrent reference voltage is adjusted from the first voltage to thesecond voltage.
 2. The method of claim 1, wherein the voltage pulse isgenerated in response to a button being pressed at the device.
 3. Themethod of claim 1, wherein the current reference voltage is output toone or more logic gates.
 4. The method of claim 3, wherein the one ormore logic gates control a setting at the device.
 5. The method of claim4, wherein the setting comprises a privacy setting.
 6. The method ofclaim 1, wherein the current reference voltage is output from theprogrammable voltage reference element in response to the voltage pulseno longer being received at the programmable voltage reference element.7. An electrical switch that: generates a voltage pulse; toggles aswitch position at a latch in response to the voltage pulse beingreceived at the latch, wherein the switch position is toggled from anoutput of a first voltage to an output of a second voltage; outputs acurrent reference voltage from a programmable voltage reference element,wherein the current reference voltage comprises the second voltage; andadjusts the current reference voltage at the programmable voltagereference element, wherein the current reference voltage is adjustedfrom the first voltage to the second voltage.
 8. The electrical switchof claim 7, wherein the voltage pulse is generated in response to abutton being pressed.
 9. The electrical switch of claim 7, wherein thecurrent reference voltage is output to one or more logic gates.
 10. Theelectrical switch of claim 9, wherein the one or more logic gatescontrol a setting at one or more elements.
 11. The electrical switch ofclaim 10, wherein the setting comprises a privacy setting.
 12. Theelectrical switch of claim 7, wherein the current reference voltage isoutput from the programmable voltage reference element in response tothe voltage pulse no longer being received at the programmable voltagereference element.
 13. One or more non-transitory computer readablemedia having instructions operable to cause one or more processors toperform the operations comprising: generating a voltage pulse; togglinga switch position at a latch in response to the voltage pulse beingreceived at the latch, wherein the switch position is toggled from anoutput of a first voltage to an output of a second voltage; outputting acurrent reference voltage from a programmable voltage reference element,wherein the current reference voltage comprises the second voltage; andadjusting the current reference voltage at the programmable voltagereference element, wherein the current reference voltage is adjustedfrom the first voltage to the second voltage.
 14. The one or morenon-transitory computer readable media of claim 13, wherein the voltagepulse is generated in response to a button being pressed at the device.15. The one or more non-transitory computer readable media of claim 13,wherein the current reference voltage is output to one or more logicgates.
 16. The one or more non-transitory computer readable media ofclaim 15, wherein the one or more logic gates control a setting at thedevice.
 17. The one or more non-transitory computer readable media ofclaim 16, wherein the setting comprises a privacy setting.
 18. The oneor more non-transitory computer readable media of claim 13, wherein thecurrent reference voltage is output from the programmable voltagereference element in response to the voltage pulse no longer beingreceived at the programmable voltage reference element.